package resources;


public class Settings {

	public static int planeVNLife = 3;
	public static int level = 1;
	public static int score;
//	public static ItemDetails[] weaponList = new ItemDetails[8];
	public static String playerName = "CHris";
	
	public static void load () {
		
//		planeVNLife = AndroidGame.pref.getInt(Constant.SAVING_AMOUNT_LIFE, GameConfig.getPlayerLife());
//		level = AndroidGame.pref.getInt(Constant.SAVING_LEVEL, 1);
//		score = AndroidGame.pref.getInt(Constant.SAVING_SCORE, 0);
		
//		for(int i = 0; i < weaponList.length; i++){
//			weaponList[i] = new ItemDetails(i, 0);
//		}

//		weaponList[Constant.BOMCHUM].quantity = AndroidGame.pref.getInt(Constant.SAVING_AMOUNT_BOMCHUM, 0);
//		weaponList[Constant.TENLUA].quantity = AndroidGame.pref.getInt(Constant.SAVING_AMOUNT_TENLUA, 0);
//		weaponList[Constant.BOMNGUYENTU].quantity = AndroidGame.pref.getInt(Constant.SAVING_AMOUNT_BOMNGUYENTU, 0);
//		weaponList[Constant.NGHIQUYET].quantity = AndroidGame.pref.getInt(Constant.SAVING_AMOUNT_NGHIQUYET, 0);
//		weaponList[Constant.CHEAT].quantity = AndroidGame.pref.getInt(Constant.SAVING_AMOUNT_CHEAT, 0);
//		
//		playerName = AndroidGame.pref.getString(Constant.SAVING_PLAYER_NAME, "Banana");
		
	}

}
